<?php
namespace app\admin\validate\Speech;
use yzh52521\validate\Validate;

class TTSVoiceValidate extends validate{

	/**
	 *@description 验证器规则
	 *@buildcode(true)
	*/
	protected $rule = [
		'tts_id'=>['require'],
		'name'=>['require'],
		'value'=>['require'],
		'status'=>['require'],
	];

	/**
	 *@description 错误提示
	 *@buildcode(true)
	*/
	protected $message = [
		'tts_id.require'=>'TTS不能为空',
		'name.require'=>'name不能为空',
		'value.require'=>'value不能为空',
		'status.require'=>'状态不能为空',
	];

	/**
	 *@description 验证场景
	 *@buildcode(true)
	*/
	protected $scene  = [
		'add'=>['tts_id','name','value','status'],
		'update'=>['tts_id','name','value','status'],
	];



}